package com.tlias.mapper;

import com.tlias.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface EmpMapper {


    List<Emp> list(String name, Short gender, LocalDate begin, LocalDate end);
//删除
    void delete(List<Integer> ids);

//添加
    void addEmp(Emp emp);

//    更改
    void updateEmp(Emp emp);



    Emp findEmp(Integer id);


}



